package com.jiyun.pojo.day01;
/*
 * @Author:limengyao
 * @Date:2023-08-11 10:42
 * @Filename:Authortiy
 *
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ToString
@TableName("member")
public class Member {
    @TableId(value = "mid", type = IdType.AUTO)
    private Integer mid;
    private String img;
    private long idcode;
    private String sex;
    private String qm;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date joindate;
    private Integer status;
    private Integer rid;
    private String mname;
    private  String username;
    private  String password;
}